<!DOCTYPE html>
<html ng-app=authapp>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>江苏省中等职业院校评估系统</title>
    <meta name="keywords" content="江苏省中等职业院校评估系统">
    <meta name="description" content="江苏省中等职业院校评估系统">

    <link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="../../basic/style/base.css" />
    <link rel="stylesheet" href="../../models/admin/css/home.css"/>
    <link rel="stylesheet" href="../../models/admin/css/monitorSeeMap.css"/>
    <script src="../../plugin/angular/angular.min.js"></script>
    <script src="../../plugin/angular/angular-cookies.min.js"></script>
    <script src="../../plugin/angular/ng-file-upload.min.js"></script>
    <script src="../../basic/js/source.js"></script>
    <script src="../../basic/js/base.js"></script>
    <script src="../../models/admin/js/monitorSeeMap.js"></script>
    <script src="../../basic/js/directive.js"></script>
</head>

<body>
<div authheader></div>
<div class="main-content" >
    <div leftaside></div>
    <aside>
        <div class="top-bar"><a href="material_apply.html">一级指标申请管理</a><s class="arrowr"></s><span>测评点分项</span></div>
        <div class="m-add" ng-controller="applyMController">
            <div class="whole-cover" ng-hide="isAddM"></div>
            <div class="add-form" ng-hide="isAddM">
                <div><p>添加测评点分项</p></div>
                <div><span>测评点分项：</span><input type="text" ng-model="addFZ" placeholder="请输入测评点分项"></div>
                <div><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数值：</span><input type="text" ng-model="addValue" placeholder="请输入数值"></div>
                <div>
                    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;类型：</span>
                    <select ng-init="P_type = names[0]" ng-model="P_type" class="form-control" style="height:35px;width:300px;">
                        <option value="">&#45;&#45; 请选择类型 &#45;&#45;</option>
                        <option value="text">输入文本</option>
                        <option value="number">数值</option>
                        <option value="file">上传文件</option>
                        <option value="filepic">上传图片</option>
                        <option value="date">选择日期</option>
                        <option value="radio">单选</option>
                        <option value="select">多选</option>
                    </select>
                </div>
                <div><span>&nbsp;&nbsp;&nbsp;&nbsp;数据说明：</span><textarea ng-model="addDesc"></textarea></div>
                <div><div ng-click="addFirstZ()">确认</div><div ng-click="cancelAddM()">取消</div></div>
            </div>
            <!--编辑-->
            <div class="add-form" ng-show="showEdit">
                <div><p>编辑测评点分项</p></div>
                <div><span>测评点分项：</span><input type="text" ng-model="item.s_name" placeholder="请输入测评点分项"></div>
                <div><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数值：</span><input type="text" ng-model="item.s_value" placeholder="请输入数值"></div>
                <div>
                    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;类型：</span>
                    <select ng-model="item.p_type" class="form-control" style="height:35px;width:300px;">
                        <option value="">&#45;&#45; 请选择类型 &#45;&#45;</option>
                        <option value="text">输入文本</option>
                        <option value="number">数值</option>
                        <option value="file">上传文件</option>
                        <option value="filepic">上传图片</option>
                        <option value="date">选择日期</option>
                        <option value="radio">单选</option>
                        <option value="select">多选</option>
                    </select>
                </div>
                <div><span>&nbsp;&nbsp;&nbsp;&nbsp;数据说明：</span><textarea ng-model="item.s_desc"></textarea></div>
                <div><div ng-click="doEdit(item)">确认</div><div ng-click="doCancel()">取消</div></div>
            </div>
            <div class="add-apply" ng-click="addM()">添加测评点分项</div>
            <div class="list-content">
                <div>
                    <div class="cooleList title">
                        <i>编号</i>
                        <span class="sl">测评点分项</span>
                        <span class="sl">数据</span>
                        <span class="sl">数据说明</span>
                        <div class="action">操作</div>
                    </div>
                </div>

                <div ng-repeat="arraylist in list">
                    <div class="cooleList">
                        <i>{{arraylist.number}}</i>
                        <span class="sl ng-binding" title="{{arraylist.s_name}}">{{arraylist.s_name}}</span>
                        <span class="sl ng-binding" title="{{arraylist.s_value}}">{{arraylist.s_value}}</span>
                        <span class="sl ng-binding" title="{{arraylist.s_desc}}">{{arraylist.s_desc}}</span>
                        <div class="btn" ng-click="edit(arraylist)" style="width:45px;margin-left: 80px;">编辑</div>
                        <div class="btn" ng-click="delCollect(arraylist.p_id)" style="width: 45px">删除</div>
                    </div>
                </div>
            </div>
        </div>
    </aside>
</div>
<div authfooter></div>
</body>
</html>
